package com.thomas.framework.service;

import com.thomas.framework.core.IService;
import com.thomas.framework.entity.SysRole;
import com.thomas.framework.entity.SysUser;

import java.util.List;

/**
 * Created by taohj on 2015/1/6.
 */
public interface ISysRoleService extends IService<SysRole> {

    public boolean authorize(SysUser user,SysRole role);


    public List<SysRole> getRolesByUser(SysUser user);


}
